namespace Mathmall.Administration.Exceptions;

public class CustomException(int code, string message, Exception exception) : System.Exception(message)
{
    public int ErrorCode { get; } = code;

    public Exception Exception { get; } = exception;
}